#!/bin/sh

wget -c https://www.php.net/distributions/php-7.1.15.tar.gz
wget -c https://pecl.php.net/get/grpc-1.38.0.tgz
wget -c https://pecl.php.net/get/protobuf-3.17.3.tgz
wget -c https://pecl.php.net/get/redis-5.3.4.tgz
wget -c https://pecl.php.net/get/mongodb-1.9.1.tgz
wget -c https://pecl.php.net/get/swoole-4.4.26.tgz
wget -c https://pecl.php.net/get/rdkafka-5.0.0.tgz
wget -c https://pecl.php.net/get/mcrypt-1.0.1.tgz
wget -c https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/icu/60.2-3ubuntu3/icu_60.2.orig.tar.gz

tar -xvf php-7.1.15.tar.gz
tar -xvf grpc-1.38.0.tgz
tar -xvf protobuf-3.17.3.tgz
tar -xvf redis-5.3.4.tgz
tar -xvf mongodb-1.9.1.tgz
tar -xvf swoole-4.4.26.tgz
tar -xvf rdkafka-5.0.0.tgz
tar -xvf mcrypt-1.0.1.tgz
tar -xvf icu_60.2.orig.tar.gz

git clone https://gitee.com/tkxiong/librdkafka.git

rm *.tar.gz
rm *.tgz